package com.ilxqx.framework.security.po;

import com.ilxqx.framework.system.enumeration.SysPermissionMethodEnum;
import com.ilxqx.framework.system.enumeration.SysRoleDataOperationRangeEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 权限项
 * @author venus
 */
@Data
public class PermissionEntry implements Serializable {

    private static final long serialVersionUID = 4566550264846542372L;

    /**
     * 权限URI
     */
    private List<String> uris;

    /**
     * 请求方法
     */
    private SysPermissionMethodEnum method;

    /**
     * 数据操作范围
     */
    private SysRoleDataOperationRangeEnum dataOperationRange;

}
